package com.vf.admin.client.service;

import com.vf.admin.client.dto.AppRankingDto;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppFamily;

import java.util.List;

public interface AppFamilyService {

    void save(AppFamily appFamily);

    AppFamily findByLeaderId(Integer leaderId);

    AppFamily findByLeaderId1(Integer leaderId);

    AppFamily findbyId(Integer id);

    AppFamily findFamilyById(Integer id);

    Boolean createFamily(Integer userid,Integer createFamilyForDiamonds,AppFamily appFamily);

    void familyMemberInc(Integer id);

    void familyMemberDec(Integer id);

    List<AppFamily> getFamilyList(String lon, String lat, Integer shiid, Integer type, Integer userId ,SplitPageBean splitPageBean);

    void prestigeNumInc(Integer fid,Integer num);


    Integer findRankingByPrestige(Integer fid ,Integer type);

    List<AppRankingDto> getRanking(Integer secondType);

    void saveFamilyNotice(Integer id,String familyNotice);

    void saveUploadPic(Integer id, String pic);

    void saveFamilyName(Integer id, String familyName);

    void kickOutMember(Integer id,Integer familyMemberId);

    void familyDismiss(Integer id);


    List<AppFamily> getAfterFamilyList(SplitPageBean splitPageBean,AppFamily appFamily);

    void saveFamilyStatus(Integer id,Integer status);

    AppFamily findByIdAll(Integer id);

    void verifyFamily(AppFamily appFamily);


}
